package com.hunan.api.catv.entity.vo;

import cn.afterturn.easypoi.excel.annotation.Excel;
import cn.afterturn.easypoi.excel.annotation.ExcelTarget;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @Author: wangchao
 * @Date: 2020/10/27 9:22
 */
@Data
@ExcelTarget("20")
public class MemberWithdrawRecordVo {

    /**
     * 主键id
     */
    private Integer id;

    /**
     * 会员id
     */
    @Excel(name = "会员ID", width = 15)
    private Integer memberId;

    /**
     * 提现金额 默认为元
     */
    @Excel(name = "提现金额", width = 15)
    private BigDecimal withdrawAmount;

    /**
     * 状态 0:交易失败 1:交易成功 2:退款
     */
    @Excel(name = "状态", replace = {"交易失败_0", "交易成功_1", "退款_2"}, width = 15)
    private Integer status;

    /**
     * 支付来源 0:微信提现 1:微信红包
     */
    private String paymentSource;

    /**
     * 交易类型
     */
    private String transactionType;

    /**
     * 交易id
     */
    private String transactionId;

    /**
     * 逻辑删除 0:已删除 1:未删除
     */
    private Integer deleted;

    /**
     * 创建时间
     */
    @TableField(fill = FieldFill.INSERT)
    @Excel(name = "创建时间", width = 15)
    private Date createTime;

    /**
     * 更新时间
     */
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date updateTime;

    /**
     * 创建人
     */
    private Integer createBy;

    /**
     * 修改人
     */
    private Integer updateBy;

    private String createName;

    private String updateName;

    private String startCreateTime;

    private String endCreateTime;

    @Excel(name = "用户昵称", width = 15)
    private String nickName;

    @Excel(name = "手机号", width = 15)
    private String phone;
}
